.alert {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: $alert-padding-y $alert-padding-x;
    border-radius: $border-radius;
    font-size: $alert-font-size;
    background-color: $primary;
    color: $white;
    transition: opacity 0.5s;

    >header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    >.desc {
        font-size: $alert-font-size-desc;
    }

    .bold-title, .close {
        font-weight: $font-weight-bold;
        font-size: $alert-font-size-title;
    }

    .close {
        cursor: pointer;
    }
}



.alert-success {
    background-color: $success;
}

.alert-danger {
    background-color: $danger;
}

.alert-warning {
    background-color: $warning;
}

